package io.wit.modules.wit.service;

import io.wit.modules.wit.entity.FarmingEntity;

import java.util.List;
import java.util.Map;

/**
 * 农事明细
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-01-02 14:45:16
 */
public interface FarmingService {
	
	FarmingEntity queryObject(Long dataId);
	
	List<FarmingEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(FarmingEntity farming);
	
	void update(FarmingEntity farming);
	
	void delete(Long dataId);
	
	void deleteBatch(Long[] dataIds);
}
